package cn.xiaopengstack.domain.order.model.entity;

import cn.xiaopengstack.domain.order.model.valobj.PayOrderStatusEnumVO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author jiangyangang
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class OrderUpdateEntity {

    /**
     * 订单号
     */
    private String orderId;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 支付订单号
     */
    private String payOrderId;

    /**
     * 订单结果
     */
    private PayOrderStatusEnumVO statusEnum;

    /**
     * 支付时间
     */
    private Date payTime;
}
